<div class="page" id="bulkstockManage" data-page="bulkstockManage">
	<div class="table-section none">
		<p class="table-head">
			<label class="table-title">大宗商品管理</label>
			<a id="bulkstockInfoAdd" class="table-btn">添加</a>
		</p>
		<p class="table-search">
			<label class="updateTime">商品名称：</label>
			<input class="bulkstockName field-input" type="text" placeholder="请输入商品名称" />
			<label class="commodityTitle" style="margin-left: 40px; margin-top: 0;">商品类别：</label>
			<input class="categoryName field-input" type="text" placeholder="请输入商品类别" />
			<button id="bulkstockManageSearchButton" class="table-search-button-1">查询</button>
		</p>
		<table class="table">
			<thead>
				<tr>
					<th>商品名称</th>
					<th>规格型号</th>
					<th>商品类别</th>
					<th>商品编号</th>
					<th>单位计量类型</th>
					<th>单位换算系数</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody id="bulkstockManageBody">
			</tbody>
			<script type="text/template" id="bulkstockManageTpl">
				{@each datas as it}
				<tr bulkstockCategoryId="${it.bulkstockCategoryId}" bulkstockName="${it.bulkstockName}" conversionFactor="${it.conversionFactor}" measurement="${it.measurement}" specificationName="${it.specificationName}" bulkstockInfoId="${it.bulkstockInfoId}" specificationName="${it.specificationName}">
					<td>${it.bulkstockName}</td>
					<td>${it.specificationName}</td>
					<td>${it.categoryName}</td>
					<td>${it.bulkstockNumber}</td>
					<td>${getValueByKey(56, it.measurement)}</td>
					<td>${it.conversionFactor}</td>
					<td>
						<a class="bulkstockEdit">编辑</a>
						<a class="bulkstockCopy">复制</a> {@if it.activeState == false}
						<a class="bulkstockActive">启用</a> {@else}
						<a class="bulkstockDeprecated">停用</a> {@/if}
						<a class="bulkstockSync">同步</a>
					</td>
				</tr>
				{@/each}
			</script>
		</table>
		<div class="pagerCon"></div>
	</div>
</div>
